body{
    padding-top: 60px;
    font-family: "Microsoft YaHei UI", "Microsoft YaHei", 微软雅黑, MicrosoftJhengHei, 华文细黑, STHeiti, MingLiu, serif;
}

.header {
    width: 100%;
    height: 38px;
    background: -webkit-linear-gradient(#FFFFFF, #F2F2F2);
    opacity: 0.99;
    border-bottom: 1px solid #d3d3d3;
    color: #777;
    font-size: 14px;
    margin-bottom: 25px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 0 5px #ccc;
    overflow: visible;
}

.container {
    width: 960px;
    margin: 0 auto;
    padding: 0 10px;
}

.header .loge {
    float: left;
    line-height: 38px;
    padding: 0 20px 0 45px;
    font-size: 18px;
    background: url(../../img/logo.gif) no-repeat scroll 0px 10px transparent;
    color: #666;
}

.header .nav-user {
    float: right;
}

.header .nav { 
    font-weight: bold;
    overflow: visible;
}

.header .nav li {
    float: left;
    display: block;
}
 
.header .nav li a {
    display: block;
    line-height: 38px;
    padding: 0 14px 0 14px;
    margin: 0 1px 0 1px;
    color: #777; 
    text-decoration: none;
}

/* --------------------左侧------------------------------ */

#page-main {
    min-height: 400px; 
}

.container .main {
    width: 690px;
    float: left;
    padding-bottom: 60px;
}

.container .sidebar {
    width: 220px;
    float: right;
    min-height: 300px;
}
 
#welcome {
    position: relative;
    margin-bottom: 30px;
    background-color: #39E;
    height: 140px;
}

#welcome .title {
    color: #fff;
    font-size: 3.1em;
    padding: 20px;
}

#welcome .total {
    position: absolute;
    display: block;
    right: 10px;
    bottom: 10px;
    color: #fff;
}

#welcome .region {
    display: inline-block;
    vertical-align: baseline;
    color: #333;
    padding: 5px 20px; 
    font-weight: bold;
    background-color: #fff; 
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    text-decoration: none;
}

.page-header {
    font-size: 20px;
    border-bottom: 0 solid #9CF;
    padding: 0 0 7px 0;
    margin-bottom: 10px;
    color: #555;
}
 
#diarys, .diarys {
    border-bottom: 1px dashed #d5d5d5;
    margin-bottom: 20px;
}

.diary, .comment {
    border-top: 1px dashed #d5d5d5;
    padding: 20px 0 5px 0;
}

.diary .icon, .comment .icon {
    display: block;
    float: left;
    width: 64px;
    height: 64px;
    padding: 0;
    background-color: #efefef;
    border-radius: 3px;
    overflow: hidden;
}

fieldset, img {
    border: 0;
}

.diary .body, .body {
    padding-left: 84px;
}

.diary .body .title, .comment .body .title {
    font-size: 13px;
    margin-bottom: 10px;
    color: #789;
}

.diary .body .title .name, .comment .body .title .name {
    font-weight: bold;
    margin-right: 10px;
}

.diary .body .title .book, .comment .body .title .action {
    color: #789;
    margin-left: 8px;
}

.diary .body .content, .comment .body .content {
    color: #333;
    line-height: 1.8em;
    padding-top: 3px;
    font-size: 13px;
    overflow: hidden;
    font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
}
 
.diary .body .bottom {
    margin: 20px 0 0 0;
    text-align: right;
    clear: left;
}

.diary .body .content .thumbnail, .form-edit .thumbnail {
    display: block;
    float: left;
    margin: 0 14px 14px 0;
    -webkit-box-shadow: 1px 1px 2px #999;
    box-shadow: 1px 1px 2px #999;
    max-width: 99%;
}
 
.diary .body .bottom a { 
    font-size: 13px;
    font-family: "Microsoft YaHei UI", "Microsoft YaHei", 微软雅黑, MicrosoftJhengHei, 华文细黑, STHeiti, MingLiu, serif;
    text-align: right;
    text-decoration: none;
    color: #789;
    
}

/* --------------hover效果-------------- */
 a:hover{
    color: blue;
 }
/* ----------------------------分页------------------------------- */
.pagination {
    text-align: center;
    clear: left;
    padding: 30px 0 0 0;
}

.pagination strong {
    padding: 5px 10px;
    margin: 0 3px;
    background: -webkit-linear-gradient(#bbb,#ababab);
}

.pagination a {
    padding: 5px 10px;
    margin: 0 2px;
}
/* -------------------------右侧代码---------------------------------- */

.sidebar .title-date {
    font-size: 56px;
    line-height: 48px;
    font-family: Arial, Helvetica, sans-serif;
    color: #555;
    position: relative;
    margin-bottom: 5px;
}

.sidebar .title-date span {
    font-size: 28px;
}

.sidebar .title-date b {
    font-size: 13px;
    position: absolute;
    top: -12px;
    right: 10px;
}

.sidebar .sidebar-item {
    margin-bottom: 20px;
}
 
form label {
    display: block;
    margin-bottom: 2px;
} 

input[type="email"], input[type="number"], input[type="password"], input[type="tel"], input[type="text"], input[type="url"], textarea, select {
    display: inline-block;
    width: 100%;
    padding: 8px;
    border: 1px solid #D9D9D9;
    border-top: 1px solid silver;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #333;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
}

input[type="button"], input[type="submit"], button, .btn, .pagination a {
    display: inline-block;
    padding: 7px 12px;
    margin-top: 4px;
    background-color: #39E;
    background: -moz-linear-gradient(#39E,#2389de);
    background: -webkit-linear-gradient(#39E,#2389de);
    border: 1px solid #39E;
    color: #fff;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
} 

.sidebar .login .checkbox {
    display: inline;
    margin-left: 10px;
}

form label.checkbox input {
    display: inline;
    margin-right: 5px;
}

.container .user_list {
    margin-left: -10px;
} 

.sidebar .sidebar-item .title {
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 10px;
}
 
.sidebar .sidebar-item .title span {
    font-size: 13px;
    color: #777;
} 

.sidebar .user_list .user {
    height: 70px;
    width: 60px;
    font-size: 12px;
    overflow: hidden;
    line-height: 18px;
}

.user_list .user {
    text-align: center;
    width: 88px;
    height: 120px;
    float: left;
    margin: 0 0 10px 10px;
}

.sidebar .user_list .user img {
    width: 48px;
    height: 48px;
} 

/* -----------------------底部------------------------------ */
.footer {
    border-top: 1px solid #d5d5d5;
    border-bottom: 1px solid #d5d5d5;
    padding: 30px 0;
    margin-top: 60px;
    clear: both;
    line-height: 24px;
    color: #777;
    background-color: #fafafa;
}

.container {
    width: 960px;
    margin: 0 auto;
    padding: 0 10px;
}

.footer a {
    color: #777;
    text-decoration: underline;
}

.footer .top {
    float: right;
    padding: 0 5px;
    color: #fff;
    text-decoration: none;
    background-color: #789;
    position: fixed;
    bottom: 20px;
    right: 10px;
}